package com.shangxian.giveithome.entity.report.outputParams;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Administrator
 * 后台用户管理返回数据封装
 */
@Data
public class ResultUser {

    @ApiModelProperty("用户记录id")
    private Long id;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("头像")
    private String picture;

    @ApiModelProperty("注册时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @JsonFormat(pattern = "yyyy-MM-dd ", timezone = "GTM+8")
    private Date volunteerTime;

    @ApiModelProperty("用户状态是否被举报")
    private Long state;


}
